Filename | (eval 1129)[/usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm:78] |
Statements | Executed 0 statements in 0s |
Eval Invoked At | /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Document.pm line 78 |
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 |
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | sub { | ||||
2 | my $context = shift || die "template sub called without context\n"; | ||||
3 | 3 | 9µs | my $stash = $context->stash; # spent 9µs making 3 calls to Template::Context::stash, avg 3µs/call | ||
4 | my $output = ''; | ||||
5 | my $_tt_error; | ||||
6 | |||||
7 | eval { BLOCK: { | ||||
8 | #line 1 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/errors/404.tt" | ||||
9 | $output .= $context->include('doc-head-open.inc'); | ||||
10 | $output .= "\n<title>Koha › Error 404</title>\n"; | ||||
11 | #line 3 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/errors/404.tt" | ||||
12 | $output .= $context->include('doc-head-close.inc'); | ||||
13 | $output .= "\n</head>\n<body id=\"err_404\" class=\"err\">\n\n"; | ||||
14 | #line 7 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/errors/404.tt" | ||||
15 | $output .= $context->include('header.inc'); | ||||
16 | $output .= "\n"; | ||||
17 | #line 8 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/errors/404.tt" | ||||
18 | $output .= $context->include('cat-search.inc'); | ||||
19 | $output .= "\n\n<div id=\"breadcrumbs\"><a href=\"/cgi-bin/koha/mainpage.pl\">Home</a> › Error 404</div>\n\n<div id=\"doc\" class=\"yui-t7\">\n \n <div id=\"bd\">\n <div id=\"yui-main\">\n <div class=\"yui-b\"><div class=\"yui-g\">\n <h1>An error has occurred!</h1>\n <h3><em>Error 404</em></h3>\n <h3>This message may have been caused by any of the following reasons:</h3>\n <ul style=\"padding-bottom: 0.5em;\">\n <li>You made use of an external link to an item that is no longer available</li>\n <li>You followed an outdated link e.g. from a search engine or a bookmark</li>\n <li>You tried to access a page that needs authentification</li>\n <li>An internal link in the client is broken and the page does not exist</li>\n </ul>\n <h3>What's next?</h3>\n <ul style=\"margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;\">\n <li>Use top menu bar to navigate to another part of Koha.</li>\n <li>To report a broken link or any other issue, please send an <a href=\"mailto:"; | ||||
20 | #line 29 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/errors/404.tt" | ||||
21 | $output .= $stash->get('admin'); | ||||
22 | $output .= "\">email to the Koha Administrator</a></li>\n </ul>\n</div>\n\n</div>\n</div>\n\n"; | ||||
23 | #line 36 "/home/vagrant/kohaclone/koha-tmpl/intranet-tmpl/prog/en/modules/errors/404.tt" | ||||
24 | $output .= $context->include('intranet-bottom.inc'); | ||||
25 | $output .= "\n"; | ||||
26 | } }; | ||||
27 | if ($@) { | ||||
28 | $_tt_error = $context->catch($@, \$output); | ||||
29 | die $_tt_error unless $_tt_error->type eq 'return'; | ||||
30 | } | ||||
31 | |||||
32 | return $output; | ||||
33 | } | ||||
34 | |||||
35 | ; |